<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
    <title>小麦帐号 - 注册</title>
    <link type="text/css" rel="stylesheet" href="__PUBLIC__/Home/css/reset.css">
    <link type="text/css" rel="stylesheet" href="__PUBLIC__/Home/css/layout.css">
    <link type="text/css" rel="stylesheet" href="__PUBLIC__/Home/css/registerpwd.css">
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/bootstrap.css" type="text/css" />
    <script src="__PUBLIC__/Admin/js/jquery.min.js"></script>
    <script src="__PUBLIC__/Admin/js/bootstrap.js"></script>
    <script src="__PUBLIC__/js/dialog/layer.js"></script>
    <script src="__PUBLIC__/js/dialog.js"></script>
    <script src="__PUBLIC__/js/admin/login.js"></script>
    <link type="text/css" rel="stylesheet" href="__PUBLIC__/Home/bootstrapvalidator/dist/css/bootstrapValidator.min.css">
    <script src="__PUBLIC__/Home/bootstrapvalidator/dist/js/bootstrapValidator.min.js"></script>
    <script src="__PUBLIC__/Home/bootstrapvalidator/dist/js/language/zh_CN.js"></script>
    <style>
        #mailogo{
            width: 88px;
            height: 88px;
            background-image:url("__PUBLIC__/Home/images/logo.png");
            background-size: cover;
        }
    </style>
</head>
<body class="zh_CN">
<div class="wrapper">
    <div class="wrap">
        <div class="layout">
            <div class="n-frame device-frame reg_frame" id="main_container">
                <div class="external_logo_area" style="padding: 20px 0">
                    <a id="mailogo" class="milogo" href="javascript:void(0)"></a>
                </div>
                <div class="title-item t_c">
                    <h4 class="title_big30">注册小麦帐号</h4>
                </div>
                <div class="regbox">
                    <div class="phone_step1">


                        <form class="form-horizontal" method="post">

                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-3 control-label">账&nbsp;&nbsp;号</label>
                                <div class="col-sm-9">
                                    <input name="uzhanghao" type="text" class="form-control" id="inputEmail3" placeholder="账号">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputPassword3" class="col-sm-3 control-label">密&nbsp;&nbsp;码</label>
                                <div class="col-sm-9">
                                    <input name="upassword" type="password" class="form-control" id="inputPassword3" placeholder="密码">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputPassword4" class="col-sm-3 control-label">确认密码</label>
                                <div class="col-sm-9">
                                    <input name="upassworded" type="password" class="form-control" id="inputPassword4" placeholder="确认密码">
                                </div>
                            </div>

                            <div class="form-group">
                                <label for="inputPassword5" class="col-sm-3 control-label">验证码</label>
                                <div class="col-sm-5">
                                    <input class="form-control" type="text" name="icode" placeholder="验证码">
                                </div>
                                <img onclick="this.src=this.src + '?a=' + Math.random()" height="45" width="110" alt="图片验证码" title="看不清换一张" src="{:u('home/user/code')}">
                            </div>

                            <div class="fixed_bot mar_phone_dis1">
                                <input class="btn332 btn_reg_1 submit-step" type="submit" value="立即注册">
                                <img style="display:none;" src="/pass/ajax/tick?biz=register&amp;type=web&amp;step=0">
                                <p class="msg">
                                    点击“立即注册”，即表示您同意并愿意遵守小麦
                                    <a href="" title="用户协议">用户协议</a>
                                    和
                                    <a href="" title="隐私政策">隐私政策</a>
                                </p>
                            </div>
                        </form>
                        <script>
                            $(function () {
                                $('form').bootstrapValidator({
                                    message: 'This value is not valid',
                                    feedbackIcons: {
                                        valid: 'glyphicon glyphicon-ok',
                                        invalid: 'glyphicon glyphicon-remove',
                                        validating: 'glyphicon glyphicon-refresh'
                                    },
                                    fields: {
                                        uzhanghao: {
                                            message: '账号验证失败',
                                            validators: {
                                                notEmpty: {
                                                    message: '账号不能为空'
                                                },
                                                stringLength: {
                                                    min: 6,
                                                    max: 18,
                                                    message: '账号长度必须在6到18位之间'
                                                },
                                                regexp: {
                                                    regexp: /^[a-zA-Z0-9_]+$/,
                                                    message: '账号只能包含大写字母、小写字母、数字和下划线'
                                                }
                                            }
                                        },
                                        upassword: {
                                            validators: {
                                                notEmpty: {
                                                    message: '密码不能为空'
                                                },
                                                stringLength: {
                                                    min: 6,
                                                    max: 18,
                                                    message: '密码长度必须在6到18位之间'
                                                },
                                            }
                                        },
                                        upassworded: {
                                            validators: {
                                                identical: {
                                                    field: 'upassword',
                                                    message: '两次输入密码不一致'
                                                }
                                            }
                                        },
                                        icode: {
                                            validators: {
                                                notEmpty: {
                                                    message: '验证码不能为空'
                                                }
                                            }
                                        },
                                    }
                                });
                            });
                        </script>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="n-footer">
    <div class="nf-link-area clearfix">
        <ul class="lang-select-list">
            <li>
                <a class="lang-select-li" href="javascript:void(0)" data-lang="zh_CN">简体</a>|</li>
            <li>
                <a class="lang-select-li" href="javascript:void(0)" data-lang="zh_TW">繁体</a>|</li>
            <li>
                <a class="lang-select-li" href="javascript:void(0)" data-lang="en">English</a>
            </li>
            |
            <li>
                <a class="a_critical" href="" target="_blank"><em></em>常见问题</a>
            </li>
        </ul>
    </div>
    <p class="nf-intro"><span>小麦公司版权所有-京ICP备10046444-<a class="beianlink beian-record-link" target="_blank"><span></span>京公网安备11010802020134号</a>-京ICP证110507号</span>
    </p>
</div>
</body>
</html>